home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1599 / 1303 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.3 KB

  1. Subject: Re: MiNT 1.11 ? are we ready for it now ?
  2. Date: Tue, 26 Apr 94 0:36:02 CDT
  3. From: Juergen Lock <nox@jelal.north.de>
  4. In-Reply-To: <memo.950663@cix.compulink.co.uk>; from "Darryl Piper" at Apr 23, 94 7:46 pm
  5. Message-Id: <9404252236.AA00420@jelal.north.de>
  6.  
  7. Darryl Piper writes:
  8.  
  9. > Hi everyone
  10. > Well MiNT 1.10 seems to have settled down now, maybe its time to assemble them
  11. > all into an offical version 1.11 ?
  12.  
  13.  here is one more fix :)  (tosfs st_nblocks)
  14.  
  15. Index: tosfs.c
  16. @@ -535,8 +535,8 @@
  17.      struct tindex *ti;
  18.  
  19.      /* jr: if cluster size unknown, do a getbpb once */
  20. -    if (fc->dev < 32 && ! clsizb[fc->dev])
  21. -        getbpb (fc->dev);
  22. +    if (drv < 32 && ! clsizb[drv])
  23. +        getbpb (drv);
  24.  
  25.      ksprintf(tmpbuf, "%c:", drv+'A');
  26.      fc->fs = &tos_filesys;
  27. @@ -685,6 +685,8 @@
  28.          xattr->blksize = clsizb[fc->dev];
  29.      
  30.      xattr->nblocks = (xattr->size + xattr->blksize - 1) / xattr->blksize;
  31. +    if (!xattr->nblocks && (ti->attr & FA_DIR))
  32. +        xattr->nblocks = 1;    /* no dir takes 0 blocks... */
  33.      xattr->mdate = xattr->cdate = xattr->adate = ti->date;
  34.      xattr->mtime = xattr->ctime = xattr->atime = ti->time;
  35.      xattr->mode = (ti->attr & FA_DIR) ? (S_IFDIR | DEFAULT_DIRMODE) :
  36. -- 
  37. J"urgen Lock / nox@jelal.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
  38.                                 ...ohne Gewehr
  39. PGP public key fingerprint =  8A 18 58 54 03 7B FC 12  1F 8B 63 C7 19 27 CF DA 
  40.